/* eslint-disable */
import Vue from 'vue';
import Router from 'vue-router';
// import Home from '@/components/Home';
// import Introduce from '@/components/Introduce';
// import Lazyloading from './lazyloading.js';

Vue.use(Router);


export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: resolve => require(['@/components/Home'], resolve),
    },
    {
      path: '/glass/introduce',
      name: 'Intro',
      component: resolve => require(['@/components/Introduce'], resolve),
    },
    {
      path: '/hello',
      name: 'Hello',
      component: resolve => require(['@/components/Hello'], resolve),
    },
    {
      path: '/register',
      name: 'Register',
      component: resolve => require(['@/components/Register'], resolve),
    },
    {
      path: '/subregister',
      name: 'Subregister',
      component: resolve => require(['@/components/subRegister'], resolve),
    },
    {
      path: '/login',
      name: 'Login',
      component: resolve => require(['@/components/Login'], resolve),
    },
    {
      path: '/consumer',
      name: 'Consumer',
      component: resolve => require(['@/components/addConsumer'], resolve),
    },
  ],
});
